package com.example.demo.day.config.learn.designBook.part8factory.part5;

public class Singleton {

    //不允许通过new来产生一个对象
    private Singleton() {

    }

    public void doSomeThing() {
        //业务处理
    }
}
